<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>起始页</title>
    <style>
        a{
            border: 1px dashed;
            font-size: 11px;
            text-decoration: none;
            color: #0056f1;
            background-color: #e2fefb;
            border-radius: 22px;
            float: left;
            margin-top: -45px;
            margin-left: 250px;
            padding: 5px;
        }
        a:hover{
            background-color: #73fff0;
            font-weight: bold;
            border-style: dotted;
        }
    </style>
</head>
<body style="background: url('../static/img/index/homebg.jpg');background-repeat: no-repeat;background-size: cover;">
<div style="margin: 45px;padding: 0;">
    <h2 style="font-family:cursive;color: #088b1e;">欢迎访问,<span th:text="${username}" style="color: dodgerblue;font-family: monospace;"></span>!</h2>
    <a href="#" onclick="exit()">退出登录</a>
</div>
</body>
<script>
    function exit() {
        parent.location.href="/login/exitLogin";
    }
</script>
</html>